package org.dawning.shop.common.commands.inventory;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.axonframework.commandhandling.TargetAggregateIdentifier;

/**
 * Created by Administrator on 2017/6/14.
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
public class SubtractInventoryCommand {
    @TargetAggregateIdentifier
    private String inventoryId;
    private Long quantity;
}
